<body>
<form action="" id="form3">
	<table width="690px" height="350px" border="0" align="center"
				cellpadding="3" cellspacing="1" bgcolor="#AEDEF4">
				<tr>
					<td align="center" bgcolor="#E2F7FE">
							<table width="99%" border="0" cellspacing="1" cellpadding="3">
								<tr style="height: 30px">
									<td width="20%" align="center"><strong>矫正单位:</strong></td>
									<td width="20%" align="left">
										<select name="unitchoice" style="width: 172px; height: 30px" id="cjid" readonly="readonly"></select>
									</td>
									
								</tr>	
								<tr>
								<td width="20%" align="center"><strong>姓&nbsp;&nbsp;&nbsp;&nbsp;名:</strong></td>
									<td width="20%" align="left">
										<select name="namechoice" style="width: 172px; height: 30px" id="cpid" readonly="readonly"></select>
									</td>
									</tr>
								<tr style="height: 30px">
									<td width="20%" align="center"><strong>矫正等级:</strong></td>
									<td colspan="3" align="left"><textarea rows="1" cols="20" id="self" readonly="readonly">${grade}</textarea>								
								</tr>					
								<tr>
									<td width="20%" align="center"><strong>矫正人员报到频率</strong></td>
									<td colspan="3" align="left"><textarea rows="3" cols="70" id="self" readonly="readonly">${frequency}</textarea>
									</td>
								</tr>
							
								<tr style="height: 20px">
									<td width="20%" align="center"><strong>矫正人员思想汇报:</strong></td>
									<td colspan="3"><textarea rows="3" cols="70" id="remarks" readonly="readonly">${report}</textarea></td>
								</tr>
							</table>
					</td>
				</tr>
	</table>
	</form>
		<script type="text/javascript">
			var jid = ${jid};
			var pid = ${pid};
			//显示司法所和矫正人员下拉框
			var getList = function() {
				$('#cjid').combobox({
					dataType : "json",
					url:'${request.contextPath}/grade/jselect',
				    valueField:'id',    
				    textField:'name',
				    onLoadSuccess : function() {  
						$("#cjid").combobox("setValues",""+jid);
					 }
				});
				$('#cpid').combobox({ 
					dataType : "json",
					url:'${request.contextPath}/grade/pselect',
				    valueField:'id',    
				    textField:'name',
				    onLoadSuccess : function() {    
						$("#cpid").combobox("setValue", ""+pid);
				    }
				});
			}
			getList();
			</script>
</body>
</html>